using System;
using System.ServiceModel;

namespace WebServiceTI.ServiceContracts
{
    [ServiceContract(Namespace = "http://WebServiceTI.ServiceContracts/2008/01", Name = "ITaskManager", SessionMode = SessionMode.Allowed)]
    public interface ITaskManager
    {
        [OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "AddTask")]
        WebServiceTI.ServiceContracts.AddTaskRespones AddTask(WebServiceTI.ServiceContracts.AddTaskRequest request);
        [OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "GetTaskList")]
        WebServiceTI.ServiceContracts.GetTaskListResponse GetTaskList(WebServiceTI.ServiceContracts.GetTaskListRequest request);
    }
}
